import 'package:flutter/material.dart';
import 'package:fluro/fluro.dart';
import 'router_handler.dart';


class Routes {
  static String root = '/';
  static String login = '/login';
  static String memberAnalysis = '/memberAnalysis';
  static String home = '/home';
  static String tabbar = '/tabbar';
  static String workSpace = '/workSpace';
  static String webTest = '/webTest';
  static void configureRouters(Router router){
    router.notFoundHandler = Handler(
      handlerFunc: (BuildContext context,Map<String, List<String>> params){
        print('ERROR====>ROUT WAS NOT FONUND!!');
        return null;
      }
    );
    router.define(root,handler: tabbarHandler);
    router.define(login,handler: loginHandler);
    router.define(memberAnalysis,handler: memberAnalysisHandler);
    router.define(tabbar,handler: tabbarHandler);
    router.define(workSpace,handler: workSpaceHandler);
  }
}